/**
 * Created by yws
 */
import axios from "../../utils/axios";

// 仓库列表
export function getList(query) {
    return axios({
        url: "/WarehouseMgr/getList",
        method: "get",
        params: query
    });
}
// 区域列表
export function getsysArea(query) {
    return axios({
        url: "/goldendays-currency/sysArea/areaList",
        method: "get",
        params: query
    });
}

// 添加
export function addBusWarehouse(data) {
    return axios({
        url: "/WarehouseMgr/addBusWarehouse",
        method: "post",
        data: data
    });
}
// 编辑
export function editBusWarehous(data) {
    return axios({
        url: "/WarehouseMgr/editBusWarehous",
        method: "post",
        data: data
    });
}

// 删除
export function delBusWarehous(data) {
    return axios({
        url: "/WarehouseMgr/delBusWarehous",
        method: "post",
        data: data
    });
}
//坐标
export function getZuoBiao(data) {
    return axios({
        url: "/WarehouseMgr/getZuoBiao",
        method: "post",
        data: data
    });
}
